package com.efast.dmom.mes.entity;

import java.io.Serializable;
import java.time.LocalDateTime;

import javax.persistence.Id;
import javax.persistence.Table;

@Table(name ="mes_operation_workorder")
public class OperationWorkorderEntity implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Id
	private Long id;
	
	private String orderNumber;
	
	private Long operationId;
	
	private Long sequence;
	
	private String operationType;
	
	private Long quatity;
	
	private Long finishedQuatity;
	
	private Long planId;
	
	private String planNo;
	
	private Long partId;
	
	private Long orderStatus;
	
	private LocalDateTime completeTime;
	
	private String description;
	
	private LocalDateTime createTime;
	
	private String createUser;
	
	private LocalDateTime lastUpdateTime;
	
	private String lastUpdateUser;
	
	private String companyCode;
	
	private Long rowStatus;
	
	private Long isFlag;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getOrderNumber() {
		return orderNumber;
	}

	public void setOrderNumber(String orderNumber) {
		this.orderNumber = orderNumber;
	}

	public Long getOperationId() {
		return operationId;
	}

	public void setOperationId(Long operationId) {
		this.operationId = operationId;
	}

	public Long getQuatity() {
		return quatity;
	}

	public void setQuatity(Long quatity) {
		this.quatity = quatity;
	}

	public String getPlanNo() {
		return planNo;
	}

	public void setPlanNo(String planNo) {
		this.planNo = planNo;
	}

	public Long getPartId() {
		return partId;
	}

	public void setPartId(Long partId) {
		this.partId = partId;
	}

	public Long getOrderStatus() {
		return orderStatus;
	}

	public void setOrderStatus(Long orderStatus) {
		this.orderStatus = orderStatus;
	}

	public LocalDateTime getCompleteTime() {
		return completeTime;
	}

	public void setCompleteTime(LocalDateTime completeTime) {
		this.completeTime = completeTime;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public LocalDateTime getCreateTime() {
		return createTime;
	}

	public void setCreateTime(LocalDateTime createTime) {
		this.createTime = createTime;
	}

	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public LocalDateTime getLastUpdateTime() {
		return lastUpdateTime;
	}

	public void setLastUpdateTime(LocalDateTime lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}

	public String getLastUpdateUser() {
		return lastUpdateUser;
	}

	public void setLastUpdateUser(String lastUpdateUser) {
		this.lastUpdateUser = lastUpdateUser;
	}

	public String getCompanyCode() {
		return companyCode;
	}

	public void setCompanyCode(String companyCode) {
		this.companyCode = companyCode;
	}

	public Long getRowStatus() {
		return rowStatus;
	}

	public void setRowStatus(Long rowStatus) {
		this.rowStatus = rowStatus;
	}

	public Long getSequence() {
		return sequence;
	}

	public void setSequence(Long sequence) {
		this.sequence = sequence;
	}

	public Long getFinishedQuatity() {
		return finishedQuatity;
	}

	public void setFinishedQuatity(Long finishedQuatity) {
		this.finishedQuatity = finishedQuatity;
	}

	public String getOperationType() {
		return operationType;
	}

	public void setOperationType(String operationType) {
		this.operationType = operationType;
	}

	public Long getIsFlag() {
		return isFlag;
	}

	public void setIsFlag(Long isFlag) {
		this.isFlag = isFlag;
	}

	public Long getPlanId() {
		return planId;
	}

	public void setPlanId(Long planId) {
		this.planId = planId;
	}

}
